package com.loong.rpc.consumer;

import com.loong.rpc.proxy.ProxyFactory;
import com.loong.rpc.service.HelloService;

public class HelloConsumer {

    public static void main(String[] args) {
        HelloService helloService = ProxyFactory.getProxy(HelloService.class);
        String result = helloService.say("Tomcat");

        System.out.println(result);
    }
}
